home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
dbase
/
ags210.zip
/
AGSAPPC.TXT
< prev
next >
Wrap
Text File
|
1988-05-07
|
62KB
|
1,710 lines
APPLICATIONS GENERATOR SYSTEM
By R.L. Coppedge, CDP
Please note:
If you are not interested in creating your own application please
do not spend an abundance of time on this Appendix, as it may be
confusing to someone who is mainly a user, and unfamiliar with
Dbase III+.
Section Topic Page #
Section C1.0 Introduction. . . . . . . . . . . . . . 1
C1.1 What you need to Begin . . . . . . . . . . . 1
Section C2.0 Installing AGS Itself. . . . . . . . . . 3
C2.1 Installing AGS from an Archive (ARC) file . . 3
Section C3.0 Installing Create. . . . . . . . . . . . 4
Section C4.0 Running CREATE . . . . . . . . . . . . . 5
C4.1 The MAIN Database . . . . . . . . . . . . . . 5
C4.2 The Create Database . . . . . . . . . . . . . 7
C4.3 Editing the CREATE Database . . . . . . . . . 10
C4.4 Building the Create Files . . . . . . . . . . 11
C4.5 A list of Create Files . . . . . . . . . . . 12
Section C5.0 Modifying Generated Code and Databases. 14
C5.1 A List of Generated Code and Files . . . . . 14
C5.2 Modifying Create-Generated Code . . . . . . . 14
Section C6.0 Modifying the Main Programs. . . . . . . 16
C6.1 Data Verification . . . . . . . . . . . 17
Section C7.0 Starting your System . . . . . . . . . . 19
Section C8.0 Adding more Applications . . . . . . . . 20
Section C9.0 Don't do the Following! . . . . . . . . 21
Section C10.0 Registration . . . . . . . . . . . . . . 22
Section C11.0 Thanks and Thoughts . . . . . . . . . . 24
Section C12.0 Limitations. . . . . . . . . . . . . . . 25
Copyright 1988 - RL Coppedge, CDP All Rights Reserved
Illustrations, Figures and Good Stuff Like That
Figures: Page:
Figure C-1 Subdirectory Structure . . . . . . . . . 2
Figure C-2 Create's Main Menu . . . . . . . . . . . 5
Figure C-3 The Main Database . . . . . . . . . . . 5
Figure C-4 Main.Dbf Entry Screen . . . . . . . . . 7
Figure C-5 The CREATE Database . . . . . . . . . . 8
Figure C-6 Create Edit Screen . . . . . . . . . . . 10
Figure C-7 Create's Initial Screen . . . . . . . . 11
Figure C-8 CREATE's Main Screen . . . . . . . . . . 12
Figure C-9 VERIFY Databases . . . . . . . . . . . . 17
Copyright 1988 - RL Coppedge, CDP All Rights Reserved
Section C1.0 Introduction.
When creating a new application through the AGS, it is
assumed that the person doing so has a relatively complete
understanding of both the Dbase III+ syntax, and the programming
language itself, as well as knowledge of MS-DOS commands.
C1.1 What you need to Begin
Prior to beginning anything with the AGS, the user should
have the following items prepared:
1> a subdirectory layout will be installed automatically
on installation as detailed in Figure C-1. The user should
ensure that nothing would be upset by such activity.
2> Dbase III+ should be installed properly, as well as
the MS-DOS CONFIG.SYS file, which should at the minimum have the
command FILES=20. Also, the CONFIG.DB file located in the Dbase
III+ subdirectory should NOT have the "COMMAND = ASSIST" line in
it.
3> A directory should be made available that contains the
files AGS.ARC, and the program used to de-Archive it.
4> The user should know the name of the database. For
this appendix, the application shall be known as APP, and is
contained in the directory \DBDATA\APP. Although this is not
needed knowledge for installing the AGS, it will be critical in
order to use it.
5> A list of all necessary Sort Orders is made (including
field names)
6> A text editor should be available, (the program files
are too big for Dbase III+'s MODI COMM command).
7> You are familiar with the database function you wish to
use and how you want it to work.
8> You are willing to work through the documentation!
Please note that we will assume that the database structure
of APP is identical to that of TEST in Section 4.1 of the Main
Documentation.
1
Copyright 1988 - RL Coppedge, CDP All Rights Reserved
--
_____________________________________________________________
| |
| |
| |
| |
| ROOT |
| \ |
| \DBDATA--\------"App" |
| \-----Help |
| \----Create |
| \---Main |
| |
| \DBASE Stores Dbase III+ itself. |
| |
| \DBDATA\HELP Stores the generic Command Line |
| Help Databases (Section 10.2) and Documentation |
| |
| \DBDATA\CREATE Stores the Create Programs |
| when not in use (for future uses) |
| |
| \DBDATA\MAIN Stores the copies of the Main |
| Programs for future use and .BIN files |
| |
| \DBDATA\APP Stores all programs and Data |
| relevant to Application APP |
|___________________________________________________________|
Figure C-1 Subdirectory Structure
2
Copyright 1988 - RL Coppedge, CDP All Rights Reserved
Section C2.0 Installing AGS Itself.
The file AGS.ARC contains all programs and files (aside from
Dbase III+ itself and your database file you create) necessary to
build your application. It also will build a subdirectory
structure, as detailed in Figure C-1, automatically building
\DBDATA,